package com.naiterui.ehp.bs.doctor.vo.record;

import javax.validation.constraints.NotEmpty;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.springframework.validation.annotation.Validated;

import lombok.Data;

/**
 * @author guoyongxiang
 * @date 2020/2/24 13:41
 * @since 1.0.0
 */
@Validated
@Data
public class RecordResultVO {

    @NotEmpty(message = "hisId 不能为空")
    private String hisId;

    @NotEmpty(message = "uname 不能为空")
    private String uname;

    @NotEmpty(message = "pwd 不能为空")
    private String pwd;

    @NotEmpty(message = "data 不能为空")
    private String data;


    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this);
    }
}
